Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isoliere State Dir für run-Tests #125

Merged
merged 2 commits into from
Oct 7, 2024
Merged

Isoliere State Dir für run-Tests #125

merged 2 commits into from
Oct 7, 2024

Conversation

MHajoha
Copy link
Member

@MHajoha MHajoha commented Sep 27, 2024

Die Tests des "run"-Befehls waren bisher nicht vom default state dir oder voneinander isoliert. Dieser PR verwendet für jeden Aufruf von long_running_cmd ein eigenes TemporaryDirectory.

An invalid question state for the minimal example would cause test_run.py to fail since it used the default state storage dir. This commit builds upon b4bc317 to use an isolated tempdir for each long_running_cmd.
@MHajoha MHajoha merged commit 708ba98 into dev Oct 7, 2024
12 checks passed
@MHajoha MHajoha deleted the isolated-cmd-tests branch October 7, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants